﻿var xHRObject = false;


if (window.XMLHttpRequest)
{
xHRObject = new XMLHttpRequest();
}
else if (window.ActiveXObject)
{
xHRObject = new ActiveXObject("Microsoft.XMLHTTP");
}

function Transform()
{
         
          xHRObject.open("GET", "NETTransform.aspx", true);
          xHRObject.onreadystatechange = getData;
          xHRObject.send(null);   
}

function getData()
{
    if ((xHRObject.readyState == 4) &&(xHRObject.status == 200))
    {
         
               var spantag = document.getElementById("example").innerHTML = xHRObject.responseText;
    }
}


